package com.example.mongodb.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "exchange_order_detail")
public class ExchangeOrderDetail {

    private Date date;

    private String orderId;

    private String amount;

    private String fee;

    private String turnover;

    private String money;
}
